﻿using System;
using System.Collections.Generic;
using Wise.TimeWarrior.DTO;

namespace Wise.TimeWarrior.Business
{
    /// <summary>
    /// Interface describe application logic
    /// </summary>
    public interface IApplicationLogic : IDisposable , IBLSetup
    {
        /// <summary>
        /// Dicitonary of Business Logics
        /// </summary>
        Dictionary<string, object> BusinessLogics
        {
            set;
            get;
        }
        /// <summary>
        /// Contains Translations for Business Logic Methods
        /// </summary>
        Dictionary<string, string> MenuItemsNamesDictionary
        {
            set;
            get;
        }
        /// <summary>
        /// Method returns list of Menu items available from tray 
        /// </summary>
        /// <returns>Dto describing methods from Business Logics components</returns>
        IEnumerable<BusinessItemDto> GetAllLogics();
    }
}
